import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import './assets/css/global.css'
import store from './store'

axios.defaults.baseURL = 'https://autumnfish.cn';

// 设置请求拦截器和响应拦截器
axios.interceptors.request.use(config => {
  return config;
})
axios.interceptors.response.use(config => {
  return config;
})

Vue.prototype.$http = axios;
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
